ModifySnatEntry
Description
Call the ModifySnatEntry interface to modify the specified SNAT entry.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifySnatEntry
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SnatEntryName | BODY | string | No | SnatEntry-1 | the name of the SNAT entry. is 2 to 128 characters in length and must start with a letter or Chinese, but you cannot use http:// or https:// beginning. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
SnatEntryId | BODY | string | Yes | snat-bp1vcgcf8tm0plqcg**** | The ID of the SNAT entry to be modified. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d0 | the region ID where the NAT gateway is located. |
SnatIp | BODY | string | Yes | 47.XX.XX.98 | public IP address in SNAT entry. Multiple IPs are separated by half-width commas (,). |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-001**** | Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters. |
version | BODY | string | No | 2016-01-01 | version of api |
SnatTableId | BODY | string | Yes | stb-8vbczigrhop8x5u3t**** | The ID of the SNAT table where the SNAT entry is located. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}